package com.hcw.library.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hcw.library.common.Result;
import com.hcw.library.domain.Lend;

import java.util.List;

public interface LendService extends IService<Lend> {

    Result<Integer> addLend(Lend lend);

    Result<Integer> updateLend(Lend lend);

    Result<Integer> deleteList(String id);

    Result<List<Lend>> queryLendList(String readerId);

}
